package com.wyq.jpa.dao;

import com.wyq.jpa.model.Role;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by dujiajiyi on 13-12-10.
 */
public interface RoleDao extends PagingAndSortingRepository<Role, Long> {
    Role findByName(String name);
}
